PROJECT(ABC_BANK)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
SET(CMAKE_CXX_COMPILER "g++")
SET(CXX_FLAGS -g -Wall)
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR})
INCLUDE_DIRECTORIES(common)
INCLUDE_DIRECTORIES(/home/mobilefzb/git/build/release-install/include)
LINK_DIRECTORIES(/home/mobilefzb/git/build/release-install/lib)
ADD_SUBDIRECTORY(common)
ADD_SUBDIRECTORY(model)
ADD_SUBDIRECTORY(muduo_dal)
ADD_EXECUTABLE(abc_bank main.cpp)
TARGET_LINK_LIBRARIES(abc_bank abc_bank_common abc_bank_model bank_muduo_dal muduo_base muduo_net)
